package com.ktjiaoyu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysUser {

  private Integer id;
  private String account;
  private String realName;
  private String password;
  private Integer sex;
  private Date birthday;
  private String phone;
  private String address;
  private String idPicPath;
  private String workPicPath;
  private Integer roleId;
  private Integer createdUserId;
  private Date createdTime;
  private Integer updatedUserId;
  private Date updatedTime;
  private String userRoleName;//角色名称
  private  SysRole sysRole; //系统角色对象
  private List<Address> addressList; //地址列表
}
